import ajax from "./ajax";

const base = "role/";

export default {
    //查询
    get: () => ajax.get(base + "selects"),
    add:(data)=>ajax.post(base+"add",data),
    del:(id)=>ajax.delete(base+id),
    updateKey:(data)=>ajax.put(base,data),
}